<include file="Public:header" />
<link href="__PUBLIC__/Catalog/css/complaintList.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="main">
   <div class="title">
         <div class="title1">
             <a href="{:U('Membership/index')}" id="back"> < </a>留言信箱
         </div>
   </div>
   <if condition="$wordlist eq ''">
   		<div class="products">
		       <div class="products_list">
		       暂时没有留言
		       </div>
		</div>
   </if>
	<foreach name="wordlist" item="vo">
		 <if condition="$vo['endleave'] eq 0">
		 	<div class="products">
		       <div class="products_list">
		          <p class="intro">{$vo.comment}</p>
		          <p style="margin-top:5px;"><span class="time">{$vo.name} {$vo.leaveword_date}</span></p>
		          <a href="{:U('Membership/leavewordDetail')}?leavewordId={$vo.leaveword_id}" class="reply"<if condition="$vo['uid'] neq $uid"> style="background:red;"</if>>
		          	<if condition="$vo['uid'] eq $uid ">已回复<else/>待回复</if>
		          </a>
		       </div>
		   	</div>
		 <else/>
		 		<div class="products">
			       <div class="products_list">
			          <p class="intro">{$vo.endleave.comment}</p>
			          <p style="margin-top:5px;"><span class="time">{$vo.endleave.name} {$vo.endleave.leaveword_date}</span></p>
			          <a href="{:U('Membership/leavewordDetail')}?leavewordId={$vo.leaveword_id}" class="reply"<if condition="$vo['endleave']['uid'] neq $uid "> style="background:red;"</if>>
			          	<if condition="$vo['endleave']['uid'] eq $uid ">已回复<else/>待回复</if>
			          </a>
			       </div>
			   	</div>
		 	
		 </if>
		 
	</foreach>
</div>
<include file="Public:footer" />